/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

import java.util.Date;

/**
 *
 * @author Noi
 */
public class Teacher {

    private int teacherID;
    private String provinceID;
    private String teacherName;
    private Date birthday;
    private boolean gender;
    private float salaryScore;
    private float seniorityScore;
    private float allowance;
    private Date dateIn;
    private String phone;
    private String address;
    private boolean status;

    public Teacher(int teacherID, String provinceID, String teacherName, Date birthday, boolean gender, float salaryScore, float seniorityScore, float allowance, Date dateIn, String phone, String address, boolean status) {
        this.teacherID = teacherID;
        this.provinceID = provinceID;
        this.teacherName = teacherName;
        this.birthday = birthday;
        this.gender = gender;
        this.salaryScore = salaryScore;
        this.seniorityScore = seniorityScore;
        this.allowance = allowance;
        this.dateIn = dateIn;
        this.phone = phone;
        this.address = address;
        this.status = status;
    }

    public float getAllowance() {
        return allowance;
    }

    public void setAllowance(float allowance) {
        this.allowance = allowance;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Date getDateIn() {
        return dateIn;
    }

    public void setDateIn(Date dateIn) {
        this.dateIn = dateIn;
    }

    public boolean isGender() {
        return gender;
    }

    public void setGender(boolean gender) {
        this.gender = gender;
    }

    public String getProvinceID() {
        return provinceID;
    }

    public void setProvinceID(String provinceID) {
        this.provinceID = provinceID;
    }

    public float getSalaryScore() {
        return salaryScore;
    }

    public void setSalaryScore(float salaryScore) {
        this.salaryScore = salaryScore;
    }

    public float getSeniorityScore() {
        return seniorityScore;
    }

    public void setSeniorityScore(float seniorityScore) {
        this.seniorityScore = seniorityScore;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public int getTeacherID() {
        return teacherID;
    }

    public void setTeacherID(int teacherID) {
        this.teacherID = teacherID;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return this.teacherName;
    }
}
